//
//  ZQPictureInfo.swift
//  ZQWeibo
//
//  Created by summer的Dad on 16/11/17.
//  Copyright © 2016年 summer的Dad. All rights reserved.
//

import UIKit

class ZQPictureInfo: NSObject {

    //头像地址
    var thumbnail_pic: String?{
    
        didSet{
    
            //给bimiddleimg赋值
            //有两种图片  bmiddle可以显示GIF动态图,缺点是消耗内存
            //wep360 是占用内存小,
            bimiddleimage = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "bmiddle")
            wep360 = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "wap360")
            
            imaURL  = URL(string:wep360!)
            
        }
    }
    var wep360 : String?
    
    var bimiddleimage : String?
    
    var imaURL : URL?
    
}
